package com.mtnz.njk.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.List;

@Data
@Table(name = "post_banner")
public class PostBannerEntity implements Serializable {
    @Column(name = "post_banner_id")
    private String postBannerId;
    private String img;
    @Column(name = "create_date")
    private String createDate;
    @Column(name = "card_id")
    private String cardId;
    private String status;
    private String name;
    private String url;

    @Transient
    private PostSpecialEntity postSpecialEntities;//帖子专题置顶
    @Transient
    private List<PostEntity> postEntities;//帖子置顶

}
